Contents
Context
Modalities, Closure and Reflection
Contents
Definition
On a local topos/local (∞,1)-topos , hence with extra fully faithful right adjoint to the global section geometric morphism , is canonically induced the idempotent comonad . This modality sends for instance pointed connected objects to coefficients for flat principal ∞-connections, and may therefore be referred to as the flat modality. It is itself the left adjoint in an adjoint modality with the sharp modality . If is in addition a cohesive (∞,1)-topos then it is also the right adjoint in an adjoint modality with the shape modality .
In type theory
There are multiple ways to define the flat modality in type theory, by using axioms and unjustified inference rules, and by using natural deduction inference rules. There are advantages and disadvantages to both:
-
The natural deduction inference rules for flat modalities are simple; they involve the usual 4 rules for positive types: formation rules, introduction rules, elimination rules, and computation rules, and they could be constructed for all types. However, the syntax of the type theory itself becomes significantly more complex compared to vanilla dependent type theory. One needs, in addition to element judgments , crisp element judgments , as well as some way of distinguishing between element judgments and crisp element judgments in the context such as split contexts.
-
When using axioms or unjustified inference rules, the flat modality could be defined in vanilla dependent type theory. However, one needs the sharp modality and a type universe already defined in the dependent type theory, and the flat modality is only defined for types in the universe , rather than all possible types.
Natural deduction inference rules
We assume a dependent type theory with crisp term judgments in addition to the usual (cohesive) type and term judgments and , as well as context judgments where is a list of crisp term judgments, and is a list of cohesive term judgments. A crisp type is a type in the context , where is the empty list of cohesive term judgments. In addition, we also assume the dependent type theory has typal equality and judgmental equality.
From here, there are two different notions of the flat modality which could be defined in the type theory, the strict flat modality, which uses judgmental equality in the computation rule and uniqueness rule, and the weak flat modality, which uses typal equality in the computation rule and uniqueness rule. When applied to a type they result in strict flat types and weak flat types respectively. The natural deduction rules for strict and weak flat types are provided as follows:
- Formation rule for weak and strict flat types:
- Introduction rule for weak and strict flat types:
- Elimination rule for weak and strict flat types:
- Computation rule for weak and strict flat types respectively:
Weak flat modalities are primarily used in cohesive weak type theories, while strict flat modalities are typically used in cohesive type theories which are not weak, such as cohesive Martin-Löf type theory (cohesive homotopy type theory or cohesive higher observational type theory.
Axioms for the flat modality
See Shulman & Schreiber 2014 for the time being.
…
We assume that the dependent type theory has the sharp modality defined by natural deduction inference rules and a Tarski universe . The codiscrete universe is given by the type with type families The axioms are given by
…
Properties
In type theory
In type theory, there are commuting conversion rules for the flat modality, which are derivable from the inference rules for the flat modality.
Theorem
The in the elimination rules for the flat modality commutes with itself:
Relation to discrete and codiscrete objects
cohesion
infinitesimal cohesion
tangent cohesion
differential cohesion
graded differential cohesion
singular cohesion
References
The terminology of the flat-modality in the above sense was introduced – in the language of -toposes and as part of the axioms on “cohesive -toposes” – in:
See also the references at local topos.
Early discussion in view of homotopy type theory and as part of a set of axioms for cohesive homotopy type theory is in
The dedicated type theory formulation with “crisp” types, as part of the formulation of real cohesive homotopy type theory, is due to: